﻿using System;

namespace BlueMarineWebClient.DO
{
    public class bookInfo
    {
        //private string cusUN;
        private DateTime inDate;
        private DateTime outDate;
        private double price;

        public double Amount
        {
            get { return price*(outDate - inDate).Days; }
        }


        public double Price
        {
            get { return price; }
            set { price = value; }
        }


        public int RoomID { get; set; }

        //public string CusUN
        //{
        //    get { return cusUN; }
        //    set { cusUN = value; }
        //}        

        public DateTime InDate
        {
            get { return inDate; }
            set { inDate = value; }
        }

        public DateTime OutDate
        {
            get { return outDate; }
            set { outDate = value; }
        }
    }
}